from django.urls import path

from apps.meiduo_admin.login import admin_jwt_token_view
from apps.meiduo_admin.views.home import UserDailyActiveCountView, UserDailyOrderCountView, UserMonthCountView, \
    UserCountView
from apps.meiduo_admin.views.user import UserListView

urlpatterns = [
    path('authorizations/', admin_jwt_token_view),

    path('statistical/day_active/', UserDailyActiveCountView.as_view()),  # 获取日新增人数

    path('statistical/day_orders/', UserDailyOrderCountView.as_view()),  # 日下单用户量统计
    path('statistical/month_increment/', UserMonthCountView.as_view()),  # 月增用户统计
    path('statistical/total_count/', UserCountView.as_view()),  # 用户总数

    path('users/', UserListView.as_view()),  # 用户管理界面用户信息战术


]
